<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class uhu</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class uhu</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
		<p class="notes">
			Located in <a class="field" href="_uhu.php.html">/uhu.php</a> (line <span class="field">38</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>


	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#path_to_apps" title="details" class="const-name">path_to_apps</a> = 					<span class="var-type"> UHU_APPS</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#path_to_components" title="details" class="const-name">path_to_components</a> = 					<span class="var-type"> UHU_ROOT</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#path_to_libs" title="details" class="const-name">path_to_libs</a> = 					<span class="var-type"> UHU_LIBS</span>

				</div>
							</div>
		</div>
	</div>

	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="var-summary">
												<div class="var-title">
					static <span class="var-type">array</span>
					<a href="#$apps" title="details" class="var-name">$apps</a>
				</div>
																<div class="var-title">
					static <span class="var-type">array</span>
					<a href="#$components" title="details" class="var-name">$components</a>
				</div>
																<div class="var-title">
					static <span class="var-type">array</span>
					<a href="#$libs" title="details" class="var-name">$libs</a>
				</div>
																								<div class="var-title">
					static <span class="var-type">array</span>
					<a href="#$supported_loadables" title="details" class="var-name">$supported_loadables</a>
				</div>
																																												<div class="var-title">
					<span class="var-type">string|null</span>
					<a href="#$path_to_config" title="details" class="var-name">$path_to_config</a>
				</div>
																			</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#add_app" title="details" class="method-name">add_app</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$app</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#add_component" title="details" class="method-name">add_component</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$component</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#add_lib" title="details" class="method-name">add_lib</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$lib</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#add_loadable" title="details" class="method-name">add_loadable</a>
											(<span class="var-type"><a href="../UHU/UHU_Loadable/uhu_loadable.html">uhu_loadable</a></span>&nbsp;<span class="var-name">$loadable</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">array</span>
										<a href="#apps" title="details" class="method-name">apps</a>
										()
									</div>
																<div class="method-definition">
					static 						<span class="method-result">array</span>
										<a href="#components" title="details" class="method-name">components</a>
										()
									</div>
																<div class="method-definition">
					static 						<span class="method-result">stdClass</span>
										<a href="#curl" title="details" class="method-name">curl</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$method</span> = <span class="var-default">'GET'</span>], [<span class="var-type">array|null</span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">NULL</span>], [<span class="var-type">array|null</span>&nbsp;<span class="var-name">$vars</span> = <span class="var-default">NULL</span>], [<span class="var-type">array|null</span>&nbsp;<span class="var-name">$add_info</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#Exception_handler" title="details" class="method-name">Exception_handler</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$e</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">bool</span>
										<a href="#is_uuid" title="details" class="method-name">is_uuid</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">array</span>
										<a href="#libs" title="details" class="method-name">libs</a>
										()
									</div>
																<div class="method-definition">
					static 						<span class="method-result">array</span>
										<a href="#list_loadables" title="details" class="method-name">list_loadables</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#llMD5String" title="details" class="method-name">llMD5String</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>, [<span class="var-type">integer</span>&nbsp;<span class="var-name">$nonce</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#llXorBase64StringsCorrect" title="details" class="method-name">llXorBase64StringsCorrect</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$s1</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$s2</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">array</span>
										<a href="#loadable_destination" title="details" class="method-name">&amp;loadable_destination</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#load_apps" title="details" class="method-name">load_apps</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$application,...</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#load_components" title="details" class="method-name">load_components</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$component,...</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#load_libs" title="details" class="method-name">load_libs</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$library,...</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#load_loadables" title="details" class="method-name">load_loadables</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$labels</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#set_default" title="details" class="method-name">set_default</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$variable</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$value</span>)
									</div>
								
												<div class="method-definition">
											<span class="method-result">uhu</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																																																																																																																																																																</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$apps" id="$apps"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">array</span>
			<span class="var-name">$apps</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">49</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">see:</span> <a href="../UHU_Loadable/UHU_Apps/uhu_application.html">uhu_application</a></li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodloadable_destination">uhu::loadable_destination()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$components" id="$components"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">array</span>
			<span class="var-name">$components</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">44</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">see:</span> <a href="../UHU_Loadable/UHU_Components/uhu_component.html">uhu_component</a></li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodloadable_destination">uhu::loadable_destination()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$libs" id="$libs"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">array</span>
			<span class="var-name">$libs</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">54</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">see:</span> <a href="../UHU_Loadable/UHU_Libs/uhu_lib.html">uhu_lib</a></li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodloadable_destination">uhu::loadable_destination()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$supported_loadables" id="$supported_loadables"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">array</span>
			<span class="var-name">$supported_loadables</span>
			 = <span class="var-default">array(<br />		uhu_application::short_type=&gt;uhu_application::full_type,<br />		uhu_lib::short_type=&gt;uhu_lib::full_type,<br />		uhu_component::short_type=&gt;uhu_component::full_type,<br />	)</span>			(line <span class="line-number">61</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodadd_loadable">uhu::add_loadable()</a></li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodload_loadables">uhu::load_loadables()</a></li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodloadable_destination">uhu::loadable_destination()</a></li>
				<li><span class="field">uses:</span> <a href="../UHU_Loadable/UHU_Components/uhu_component.html">uhu_component</a></li>
				<li><span class="field">uses:</span> <a href="../UHU_Loadable/UHU_Apps/uhu_application.html">uhu_application</a></li>
				<li><span class="field">uses:</span> <a href="../UHU_Loadable/UHU_Libs/uhu_lib.html">uhu_lib</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$path_to_config" id="$path_to_config"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string|null</span>
			<span class="var-name">$path_to_config</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">69</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#method__construct">uhu::__construct()</a></li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																			<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodadd_app" id="add_app"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method add_app</span> (line <span class="line-number">278</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Attempt to register the specified application for later loading</p>
	<ul class="tags">
				<li><span class="field">see:</span> uhu_application::__construct()</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#methodadd_loadable">uhu::add_loadable()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			add_app
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$app</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../UHU_Loadable/UHU_Apps/uhu_application.html">uhu_application</a></span>
				<span class="var-name">$app</span>			</li>
				</ul>
		
			
	</div>
<a name="methodadd_component" id="add_component"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method add_component</span> (line <span class="line-number">268</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Attempt to register the specified component for later loading</p>
	<ul class="tags">
				<li><span class="field">see:</span> uhu_component::__construct()</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#methodadd_loadable">uhu::add_loadable()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			add_component
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$component</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../UHU_Loadable/UHU_Components/uhu_component.html">uhu_component</a></span>
				<span class="var-name">$component</span>			</li>
				</ul>
		
			
	</div>
<a name="methodadd_lib" id="add_lib"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method add_lib</span> (line <span class="line-number">288</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Attempt to register the specified component for later loading</p>
	<ul class="tags">
				<li><span class="field">see:</span> uhu_lib::__construct()</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#methodadd_loadable">uhu::add_loadable()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			add_lib
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$lib</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../UHU_Loadable/UHU_Libs/uhu_lib.html">uhu_lib</a></span>
				<span class="var-name">$lib</span>			</li>
				</ul>
		
			
	</div>
<a name="methodadd_loadable" id="add_loadable"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method add_loadable</span> (line <span class="line-number">147</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Registers a loadable of the specified type to be available for later loading.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodadd_app">uhu::add_app()</a></li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodadd_lib">uhu::add_lib()</a></li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodadd_component">uhu::add_component()</a></li>
				<li><span class="field">uses:</span> uhu::loadable_destination</li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#var$supported_loadables">uhu::$supported_loadables</a></li>
				<li><span class="field">uses:</span> <a href="../UHU/UHU_Loadable/uhu_loadable.html#methodlabel">uhu_loadable::label()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			add_loadable
		</span>
					(<span class="var-type"><a href="../UHU/UHU_Loadable/uhu_loadable.html">uhu_loadable</a></span>&nbsp;<span class="var-name">$loadable</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../UHU/UHU_Loadable/uhu_loadable.html">uhu_loadable</a></span>
				<span class="var-name">$loadable</span><span class="var-description">: The loadable to add</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$type</span><span class="var-description">: app, lib or component</span>			</li>
				</ul>
		
			
	</div>
<a name="methodapps" id="apps"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method apps</span> (line <span class="line-number">210</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns an array of the labels for the loaded apps</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#methodlist_loadables">uhu::list_loadables()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">array</span>
		<span class="method-name">
			apps
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodcomponents" id="components"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method components</span> (line <span class="line-number">228</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns an array of the labels for the loaded components</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#methodlist_loadables">uhu::list_loadables()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">array</span>
		<span class="method-name">
			components
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodcurl" id="curl"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method curl</span> (line <span class="line-number">301</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Acts as a wrapper to @link</p>
	<ul class="tags">
				<li><span class="field">return:</span> an object containing the data/error information regarding the transfer.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">stdClass</span>
		<span class="method-name">
			curl
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$method</span> = <span class="var-default">'GET'</span>], [<span class="var-type">array|null</span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">NULL</span>], [<span class="var-type">array|null</span>&nbsp;<span class="var-name">$vars</span> = <span class="var-default">NULL</span>], [<span class="var-type">array|null</span>&nbsp;<span class="var-name">$add_info</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$url</span><span class="var-description">: the resource to fetch</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$method</span><span class="var-description">: the  method to use with the resource</span>			</li>
					<li>
				<span class="var-type">array|null</span>
				<span class="var-name">$options</span><span class="var-description">: <a href="http://uk.php.net/manual/en/function.curl-setopt-array.php">http://uk.php.net/manual/en/function.curl-setopt-array.php</a></span>			</li>
					<li>
				<span class="var-type">array|null</span>
				<span class="var-name">$vars</span><span class="var-description">: To be used with a POST operation</span>			</li>
					<li>
				<span class="var-type">array|null</span>
				<span class="var-name">$add_info</span><span class="var-description">: <a href="http://uk.php.net/manual/en/function.curl-getinfo.php">http://uk.php.net/manual/en/function.curl-getinfo.php</a></span>			</li>
				</ul>
		
			
	</div>
<a name="methodException_handler" id="Exception_handler"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method Exception_handler</span> (line <span class="line-number">428</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Default Exception handler for UHU</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../UHU/_uhu---wrapper-funcs.php.html#functionheaderBySAPI">headerBySAPI()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			Exception_handler
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$e</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Exception</span>
				<span class="var-name">$e</span>			</li>
				</ul>
		
			
	</div>
<a name="methodis_uuid" id="is_uuid"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method is_uuid</span> (line <span class="line-number">373</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Used to decide if a given string is a UUID</p>
	<ul class="tags">
				<li><span class="field">return:</span> TRUE if $tring is a UUID, FALSE otherwise</li>
				<li><span class="field">staticvar:</span> array $uuids: An array storing positive UUID checks</li>
				<li><span class="field">staticvar:</span> array $not: An array storing negative UUID checks</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">usedby:</span> <a href="../UHU/_uhu---wrapper-funcs.php.html#functionis_uuid">is_uuid()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">bool</span>
		<span class="method-name">
			is_uuid
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$string</span>			</li>
				</ul>
		
			
	</div>
<a name="methodlibs" id="libs"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method libs</span> (line <span class="line-number">219</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns an array of the labels for the loaded libraries</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#methodlist_loadables">uhu::list_loadables()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">array</span>
		<span class="method-name">
			libs
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodlist_loadables" id="list_loadables"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method list_loadables</span> (line <span class="line-number">201</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns an array of the loadable labels of the given type</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodcomponents">uhu::components()</a></li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodlibs">uhu::libs()</a></li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodapps">uhu::apps()</a></li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#methodloadable_destination">uhu::loadable_destination()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">array</span>
		<span class="method-name">
			list_loadables
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$type</span><span class="var-description">: type $type app, lib or component</span>			</li>
				</ul>
		
			
	</div>
<a name="methodllMD5String" id="llMD5String"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method llMD5String</span> (line <span class="line-number">407</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a string of 32 hex characters that is the MD5 checksum of src with a salt of &quot;:&quot;+nonce. A PHP implementation of the LSL function <a href="http://wiki.secondlife.com/wiki/LlMD5String">llMD5String</a></p>
	<ul class="tags">
				<li><span class="field">return:</span> returns an MD5 string.</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">usedby:</span> <a href="../UHU/_uhu---wrapper-funcs.php.html#functionllMD5String">llMD5String()</a></li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#methodllMD5String">uhu::llMD5String()</a></li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodllMD5String">uhu::llMD5String()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">string</span>
		<span class="method-name">
			llMD5String
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$string</span>, [<span class="var-type">integer</span>&nbsp;<span class="var-name">$nonce</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$string</span><span class="var-description">: The string to hash</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$nonce</span><span class="var-description">: The integer to combine with the string</span>			</li>
				</ul>
		
			
	</div>
<a name="methodllXorBase64StringsCorrect" id="llXorBase64StringsCorrect"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method llXorBase64StringsCorrect</span> (line <span class="line-number">392</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Correctly performs an exclusive or on two Base 64 strings. A PHP implementation of the LSL function <a href="http://wiki.secondlife.com/wiki/llXorBase64StringsCorrect">llXorBase64StringsCorrect</a></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">usedby:</span> <a href="../UHU/_uhu---wrapper-funcs.php.html#functionllXorBase64StringsCorrect">llXorBase64StringsCorrect()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">string</span>
		<span class="method-name">
			llXorBase64StringsCorrect
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$s1</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$s2</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s1</span><span class="var-description">: Base64 encoded string</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s2</span><span class="var-description">: Base64 encoded string</span>			</li>
				</ul>
		
			
	</div>
<a name="methodloadable_destination" id="loadable_destination"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method loadable_destination</span> (line <span class="line-number">119</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a reference to the array holding the specified type of uhu_loadable</p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns the array the loadable is meant to go into.</li>
				<li><span class="field">see:</span> <a href="../UHU/UHU_Loadable/uhu_loadable.html">uhu_loadable</a></li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodload_loadables">uhu::load_loadables()</a></li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodlist_loadables">uhu::list_loadables()</a></li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#var$supported_loadables">uhu::$supported_loadables</a></li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#var$apps">uhu::$apps</a></li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#var$components">uhu::$components</a></li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#var$libs">uhu::$libs</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">array</span>
		<span class="method-name">
			&amp;loadable_destination
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$type</span><span class="var-description">: app, lib or component</span>			</li>
				</ul>
		
			
	</div>
<a name="methodload_apps" id="load_apps"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method load_apps</span> (line <span class="line-number">237</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Atempt to load the specified UHU applications</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#methodload_loadables">uhu::load_loadables()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			load_apps
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$application,...</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$application,...</span>			</li>
				</ul>
		
			
	</div>
<a name="methodload_components" id="load_components"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method load_components</span> (line <span class="line-number">247</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Atempt to load the specified UHU components</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#methodload_loadables">uhu::load_loadables()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			load_components
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$component,...</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$component,...</span>			</li>
				</ul>
		
			
	</div>
<a name="methodload_libs" id="load_libs"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method load_libs</span> (line <span class="line-number">257</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Atempt to load the specified UHU libraries</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#methodload_loadables">uhu::load_loadables()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			load_libs
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$library,...</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$library,...</span>			</li>
				</ul>
		
			
	</div>
<a name="methodload_loadables" id="load_loadables"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method load_loadables</span> (line <span class="line-number">170</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Attempts to load loadables of the specified type</p>
	<ul class="tags">
				<li><span class="field">see:</span> <a href="../UHU/UHU_Loadable/uhu_loadable.html">uhu_loadable</a></li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodload_components">uhu::load_components()</a></li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodload_libs">uhu::load_libs()</a></li>
				<li><span class="field">usedby:</span> <a href="../UHU/uhu.html#methodload_apps">uhu::load_apps()</a></li>
				<li><span class="field">uses:</span> <a href="../UHU_exception/UHU_Loadable/uhu_loadable_exception.html">uhu_loadable_exception</a></li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#var$supported_loadables">uhu::$supported_loadables</a></li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#methodloadable_destination">uhu::loadable_destination()</a></li>
				<li><span class="field">uses:</span> <a href="../UHU/UHU_Loadable/uhu_loadable.html#methodload">uhu_loadable::load()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			load_loadables
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$labels</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$labels</span><span class="var-description">: An array of loadable labels to attempt to load.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$type</span><span class="var-description">: app, lib or component</span>			</li>
				</ul>
		
			
	</div>
<a name="methodset_default" id="set_default"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method set_default</span> (line <span class="line-number">420</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">If not set, sets the specified variable to the given value</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			set_default
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$variable</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$variable</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
			
	</div>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">96</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Loads the configuration for the UHU isntallation, adds the UHU library path to the PHP include path.</p>
	<ul class="tags">
				<li><span class="field">see:</span> UHU_Config</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">uses:</span> UHU_ROOT</li>
				<li><span class="field">uses:</span> UHU_CONFIG_PATH</li>
				<li><span class="field">uses:</span> uhu::$path_to_libs</li>
				<li><span class="field">uses:</span> <a href="../UHU/uhu.html#var$path_to_config">uhu::$path_to_config</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">uhu</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constpath_to_apps" id="path_to_apps"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">path_to_apps</span>
			 = <span class="const-default"> UHU_APPS</span>
			(line <span class="line-number">81</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The path UHU applications are installed in</p>
	<ul class="tags">
				<li><span class="field">see:</span> <a href="../UHU_Loadable/UHU_Apps/uhu_application.html">uhu_application</a></li>
				<li><span class="field">uses:</span> <a href="../UHU/_uhu.php.html#defineUHU_APPS">UHU_APPS</a></li>
			</ul>
	
	
</div>
<a name="constpath_to_components" id="path_to_components"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">path_to_components</span>
			 = <span class="const-default"> UHU_ROOT</span>
			(line <span class="line-number">75</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The path UHU components are installed in</p>
	<ul class="tags">
				<li><span class="field">see:</span> <a href="../UHU_Loadable/UHU_Components/uhu_component.html">uhu_component</a></li>
				<li><span class="field">uses:</span> UHU_ROOT</li>
			</ul>
	
	
</div>
<a name="constpath_to_libs" id="path_to_libs"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">path_to_libs</span>
			 = <span class="const-default"> UHU_LIBS</span>
			(line <span class="line-number">87</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The path UHU libraries are installed in</p>
	<ul class="tags">
				<li><span class="field">see:</span> <a href="../UHU_Loadable/UHU_Libs/uhu_lib.html">uhu_lib</a></li>
				<li><span class="field">uses:</span> UHU_LIBS</li>
			</ul>
	
	
</div>
						
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Tue, 13 Jan 2009 23:22:21 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>